package com.haoze.nurseapp.service;

import com.haoze.common.response.Result;
import com.haoze.nurseapp.vo.EmrFile;

import java.util.List;
import java.util.Map;

public interface NurseFileIndexService {
    String PROFILE_DEV = "dev";
    String MB_WB = "mbwb";
    /**
     * 单选类型
     */
    String TYPE_SIGNLE_SELECTION = "6";
    /**
     * 多选类型
     */
    String TYPE_MULTIPLE_SELECTION = "7";
    String SPECIAL_SPLITER = "\\$€\\$€\\$";
    String WENJIANTAITOU_RQSJ = "wenjiantaitou-rqsj";
    String NOT_DELETE = "0";
    /**
     * 一个住院号只能生成一份病历
     */
    String ONLY_ONE = "0";

    EmrFile getFileIndex(String emrFileId);

    String saveFileIndex(EmrFile emrFile);

    String saveFileIndex2(EmrFile emrFile);

    Result createFileIndex(String tplId, String inpatNum, String deptId, String reqNum, String serialNo,String refEmrFileId,String dailyAssessmentMarker);

    List<Map<String,String>> getSpeedUnit();

    Result getFileByQrCode(String qrCode);
}
